//
//  GSCommon.h
//  GSDemo
//
//  Created by ZFJMAC on 2022/7/23.
//

#ifndef GSCommon_h
#define GSCommon_h

#define WEAKBLOCK __weak typeof(self) weakSelf = self;

#define Screen_Width        [UIScreen mainScreen].bounds.size.width
#define Screen_Height       [UIScreen mainScreen].bounds.size.height

#define kAvatarViewSize 45.0
#define kTextMessageCell_Text_PADDING 160.0
#define kTextMessageCell_Text_Width_Max (Screen_Width - kTextMessageCell_Text_PADDING)
#define kTextMessageCell_Text_font [UIFont systemFontOfSize:14]

#define kImageMessageCell_Image_Width_Max (Screen_Width * 0.4)
#define kImageMessageCell_Image_Height_Max kImageMessageCell_Image_Width_Max

#define kGSInputView_Image_Btn_Size 25
#define kGSInputView_Input_Height 35

#ifndef CGFLOAT_CEIL
#ifdef CGFLOAT_IS_DOUBLE
#define CGFLOAT_CEIL(value) ceil(value)
#else
#define CGFLOAT_CEIL(value) ceilf(value)
#endif
#endif

#endif /* GSCommon_h */
